package org.ifilm.dao;
import java.util.List;

import org.ifilm.model.City;
import org.ifilm.model.Country;
import org.ifilm.model.Language;
import org.ifilm.model.TipsAndTricks;
import org.ifilm.model.UserType;

/**
 * 
 * @author Mustafa Genç
 *
 */
public interface UtilDao {
	
	public List<Country> listCountries();
	
	public List<City> getCitiesByCountry(Long countryId);
	
	public List<Language> getLanguages();
	
	public List<Object> getSearchable(Integer page, Integer max, String searchText);
	
	public List<UserType> getUserTypes();
	
	public TipsAndTricks createTipAndTrick(TipsAndTricks tipAndTrick);
	
	public List<TipsAndTricks> getAllTips();
	
	public List<TipsAndTricks> getTipsByUser(Long userid);
	
	public List<TipsAndTricks> getTipsByType(int type);
	
	public List<TipsAndTricks> getTipsBySubject(String subject); 
}